import { createStore, applyMiddleware } from 'redux'
import createReducer from './reducer'
// 使用异步 需要用到的库
import thunk from 'redux-thunk'


export default createStore(createReducer, applyMiddleware(thunk))
